package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseBaseModel;
import com.xuecheng.api.content.model.vo.CourseBaseVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @Author BGJIAN
 * @Date 2021/12/8
 */
@Api(value = "课程基本信息api接口",tags = "课程基本信息api接口啊")
public interface CourseBaseApi {

    /**
     * @param params  Querystring方式请求的封装数据  是公共模块
     * @param model   requestbody方式请求的封装数据  与接口相关定义在xc-api
     * @return  返回数据的封装
     */
    @ApiOperation("分页条件查询课程基本信息")
    PageVO queryCourseList(PageRequestParams params, QueryCourseBaseModel model);


    @ApiOperation("课程基础信息创建")
    CourseBaseDTO createCourseBase(CourseBaseVO vo);

    @ApiOperation("课程基础信息修改")
    CourseBaseDTO modifyCourseBase(CourseBaseVO vo);


    @ApiOperation("根据课程id查询课程数据")
    CourseBaseDTO getCourseBaseById(Long courseBaseId);


    @ApiOperation("根据Id删除课程信息")
    @ApiImplicitParam(name = "courseBaseId", value = "课程id值", required = true, paramType = "path")
    void removeCoursebase(Long courseBaseId);


    @ApiOperation("教学机构提交课程")
    void commitCourseBase(Long courseId);







}
